﻿using FluentNHibernate.Automapping;
using FluentNHibernate.Automapping.Alterations;
using FluentNHibernate.Mapping;
using good1.Core;
using good1.Core.Enums;

namespace good1.Data.NHibernateMaps.Explicit
{


    public class UserMap : IAutoMappingOverride<User>
    {
        public void Override(AutoMapping<User> mapping)
        {
            mapping.DiscriminateSubClassesOnColumn<int>("GoodRolesType");
           
        }
    }

}
